package gameevent

import (
	"xr-game-server/core/event"
)

const (
	AddItemArray event.Type = "AddItemArray"
)

type AddItemArrayEvent struct {
	RoleId uint64
	Items  [][]uint64
	Push   bool
}

func NewAddItemArrayEvent(roleId uint64, items [][]uint64, push bool) *AddItemArrayEvent {
	return &AddItemArrayEvent{
		RoleId: roleId,
		Items:  items,
		Push:   push,
	}
}
